@{
    ViewData["Title"] = "系统日志";
}

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">系统日志</a></li>
    </ul>
</div>

<div class="formbody">
    <div id="usual1" class="usual">
        <form id="formQuery" action="" method="post">
            <ul class="seachform1">
                <li>
                    <label> 日志类型：</label>
                    <input type="text" id="conLogType" name="LogType" class="scinput1" placeholder="请输入日志类型" value="" />
                </li>

                <li>
                    <label> 日志内容：</label>
                    <input type="text" id="conCont" name="Cont" class="scinput1" placeholder="请输入日志内容" value="" />
                </li>

                <li>
                    <label> 操作人：</label>
                    <input type="text" id="conUserid" name="Userid" class="scinput1" placeholder="请输入操作人" value="" />
                </li>

                <li>
                    <label> 操作时间：</label>
                    <input type="text" id="conOpDate" name="OpDate" class="scinput1" placeholder="请输入操作时间" value="" />
                </li>

                <li>
                    <label> 操作ip：</label>
                    <input type="text" id="conOpIp" name="OpIp" class="scinput1" placeholder="请输入操作ip" value="" />
                </li>

                <li>
                    <input type="hidden" id="pageindex" name="pageindex" value="1" />
                    <input type="hidden" id="pagesize" name="pagesize" value="10" />
                    <input type="button" id="btnQuery" class="scbtn" value=" 查询 " />
                    <input type="button" id="btnAdd" class="scbtn2" value="添加" />
                </li>
            </ul>
        </form>
    </div>
    <div style="clear:both"></div>
    <div id="app">
        <table class="tablelist" >
            <thead>
                <tr>
                    <th >编号</th>
                    <th>日志类型</th>

                    <th>日志内容</th>

                    <th>操作人</th>

                    <th>操作时间</th>

                    <th>操作ip</th>

                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr  v-cloak :data-id="info.id"  v-for="(info, index) in listdata">
                    <td class="lft">[[info.id]]</td>
                    <td class="lft">[[info.logType]]</td>

                    <td class="lft">[[info.cont]]</td>

                    <td class="lft">[[info.userid]]</td>

                    <td class="lft">[[info.opDate]]</td>

                    <td class="lft">[[info.opIp]]</td>


                    <td class="operate">
                        <a href="javascript:;" class="btnView"  :data-id="info.id"><img src="/images/t01.png" />查看 </a>
                        <a href="javascript:;" class="btnEdit"  :data-id="info.id"><img src="/images/t02.png" />修改 </a>
                        <a href="javascript:;" class="btnDelete"  :data-id="info.id"> <img src="/images/t03.png" />删除</a>

                    </td>
                </tr>

            </tbody>
        </table>
    </div>
    <div class="pagination ue-clear"></div>

</div>


<div class="tip" id="layer-edit">
    <div class="tiptop"><span>编辑</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>系统日志</span></div>
    <form id="formEdit" action="" method="post">
        <table class="tblForm">
            <tbody>
            <tr>
                <td class="tdFormLeft"><label><em>* </em>日志类型</label></td>
                <td>
                   <input type="text" id="txtLogType" name="logType" placeholder="请输入日志类型" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>日志内容</label></td>
                <td>
                   <input type="text" id="txtCont" name="cont" placeholder="请输入日志内容" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作人</label></td>
                <td>
                   <input type="number" id="txtUserid" name="userid" placeholder="请输入操作人" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作时间</label></td>
                <td>
                   <input type="date" id="txtOpDate" name="opDate" placeholder="请输入操作时间" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作ip</label></td>
                <td>
                   <input type="text" id="txtOpIp" name="opIp" placeholder="请输入操作ip" value="" />
                </td>
            </tr>


            </tbody>
        </table>

        <div class="btnDiv">
            <input name="id" value="0" type="hidden" />
            <input type="button" id="btnSubmit" onClick="formEditSubmit();" class="scbtn" value=" 发布 " />
        </div>
     </form>
</div>

<div class="tip" id="layer-view">
    <div class="tiptop"><span>查看</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>系统日志</span></div>
    <table class="tblForm">
        <tbody>
            <tr>
                <td class="tdFormLeft"><label><em>* </em>日志类型</label></td>
                <td>
                    <span id="spnLogType" name="logType" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>日志内容</label></td>
                <td>
                    <span id="spnCont" name="cont" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作人</label></td>
                <td>
                    <span id="spnUserid" name="userid" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作时间</label></td>
                <td>
                    <span id="spnOpDate" name="opDate" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>操作ip</label></td>
                <td>
                    <span id="spnOpIp" name="opIp" class="fld-value"></span>
                </td>
            </tr>


        </tbody>
    </table>

    <div class="btnDiv">
        <input type="button" class="scbtn btnClose" value=" 关闭 " />
    </div>
</div>
<script src="/viewjs/systemlog/index.js"></script>


